﻿using fasc_openapi_donet_sdk.Attributes;
using fasc_openapi_donet_sdk.Model.CommonModel;
using fasc_openapi_donet_sdk.Model.ResponseModel.ClientOrgManage;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace fasc_openapi_donet_sdk.Model.RequestModel.ClientOrgManage
{
    /// <summary>
    /// 获取企业用户授权链接
    /// </summary>
    [RemoteService("/corp/get-auth-url", "POST")]
    public class GetCorpAuthUrlReq : BaseReq<GetCorpAuthUrlRes>
    {
        public string openCorpId { get; set; }
        public CorpIdentInfo corpIdentInfo { get; set; }
        public bool corpIdentInfoMatch { get; set; }
        public string operatorId { get; set; }
        public UserIdentInfo operatorIdentInfo { get; set; }
        public UserInfoExtend operatorInfoExtend { get; set; }
        public string operatorIdentInfoMatch { get; set; }
        public string[] requestAuthScope { get; set; }
        public string redirectUrl { get; set; }
    }

    public class CorpIdentInfo
    {
        public string corpName { get; set; }
        public string corpIdentType { get; set; }
        public string corpIdentNo { get; set; }
        public string legalRepName { get; set; }
    }
}
